return {
  "LintaoAmons/scratch.nvim",
  event = "VeryLazy",
  dependencies = {
  },
  opts = {
    use_telescope = false,
    file_picker = "snacks",
    filetypes = { "lua", "js", "sh", "py","c", "cpp", "txt", "md" },
  },
  keys = {
    { "<C-M-n>", mode = { "n" }, "<cmd>Scratch<cr>", desc = "新建一个临时文件" },
    { "<C-M-o>", mode = { "n" }, "<cmd>ScratchOpen<cr>", desc = "打开用过的临时文件" },
  },
}
